MIPS: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO.
authorPurna Chandra Mandal <[email protected]>
Thu, 17 Dec 2015 17:31:31 +0000 (23:01 +0530)
committerDaniel Schwierzeck <[email protected]>
Sat, 16 Jan 2016 20:06:45 +0000 (21:06 +0100)
With CONFIG_CMD_GPIO compilation reports error.
common/cmd_gpio.c:13:22: fatal error: asm/gpio.h: No such file or directory
 #include <asm/gpio.h>
                      ^
Signed-off-by: Purna Chandra Mandal <[email protected]>
Reviewed-by: Chin Liang See <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/mips/include/asm/gpio.h [new file with mode: 0644]

diff --git a/arch/mips/include/asm/gpio.h b/arch/mips/include/asm/gpio.h
new file mode 100644 (file)
index 0000000..306ab4c
--- /dev/null
@@ -0,0 +1 @@
+#include <asm-generic/gpio.h>